<div class="panel-default">
  <table lay-filter="demo" lay-size='lg'>
    <thead>
      <tr>
        <th lay-data="{field:'attr'}" style="width:30%;">属性</th>
        <th lay-data="{field:'attr_value'}">值</th>
      </tr>
    </thead>

    <tbody>
  
    <tr>
      <td><%= AdminUser.human_attribute_name(:account_number) %>:</td>
      <td><%= @admin_user.account_number %></td>
    </tr>
  
    <tr>
      <td><%= AdminUser.human_attribute_name(:name) %>:</td>
      <td><%= @admin_user.name %></td>
    </tr>
  
    <tr>
      <td><%= AdminUser.human_attribute_name(:phone) %>:</td>
      <td><%= @admin_user.phone %></td>
    </tr>
  
    <tr>
      <td><%= AdminUser.human_attribute_name(:password) %>:</td>
      <td><%= @admin_user.password %></td>
    </tr>
  
    </tbody>
  </table>

  <div class="actions_show">
    <%= link_to t('buttons.edit'), edit_admin_admin_user_path(@admin_user), class: 'layui-btn' %>
    <%= link_to t('buttons.back'), admin_admin_users_path, class: 'layui-btn layui-btn-normal' %>
  </div>
</div>